﻿namespace NJQuery {

	/// <summary>
	/// Defines the contract needed by the jQuery <see cref="PropertyCollection"/> to render complex types based on specific values.
	/// </summary>
	public interface IComplexProperty {


		#region Methods

		/// <summary>
		/// Returns a literal JavaScript value used to represent the server value on the client.
		/// </summary>
		/// <returns>The client script value.</returns>
		string ToClientSource();

		#endregion


	}

}